package entity.nvdcve;

/**
 * 参考nvd-cve json schema 1.1
 * schema地址：https://csrc.nist.gov/schema/nvd/feed/1.1-Beta/nvd_cve_feed_json_1.1_beta.schema
 *
 * @author xym
 * @since 2020/7/15
 */
public class BaseMetricV3 {
    private Double exploitabilityScore;
    private Double impactScore;
    private CvssV3 cvssV3;

    public Double getExploitabilityScore() {
        return exploitabilityScore;
    }

    public void setExploitabilityScore(Double exploitabilityScore) {
        this.exploitabilityScore = exploitabilityScore;
    }

    public Double getImpactScore() {
        return impactScore;
    }

    public void setImpactScore(Double impactScore) {
        this.impactScore = impactScore;
    }

    public CvssV3 getCvssV3() {
        return cvssV3;
    }

    public void setCvssV3(CvssV3 cvssV3) {
        this.cvssV3 = cvssV3;
    }

    @Override
    public String toString() {
        return "BaseMetricV3{" +
                "exploitabilityScore=" + exploitabilityScore +
                ", impactScore=" + impactScore +
                ", cvssV3=" + cvssV3 +
                '}';
    }
}
